package day3;

public class TestSing {
        public static void main(String[] args) {
            // 获取单例实例
            Sing instance1 = Sing.getInstance();
            Sing instance2 = Sing.getInstance();

            // 验证是否为同一个实例
            System.out.println(instance1 == instance2);

        }

}
